#ifndef ANDGATE_H
#define ANDGATE_H
#include "Gate.h"


class ANDGate:public Gate
{
public:
    ANDGate();
    ANDGate(int x,int y);
    void DoSimulate();
//    void DrawGate(QPainter *painter);
    static void newANDGate(Gate* head,Gate* tail);//槽函数，点击工具栏的与门按键会触发
};

#endif // ANDGATE_H
